# CMake 最低版本号要求
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)

# 项目信息
project(astar
        VERSION 1.0.0
        DESCRIPTION "a star"
        LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 23 CACHE STRING "The C++ standard to use")
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# 指定生成目标
add_executable(astar astar.cpp)